luci-app-ddns: fix typo for has_curlssl()
authorleonghui <[email protected]>
Sat, 5 Jan 2019 10:38:25 +0000 (10:38 +0000)
committerChuck <[email protected]>
Wed, 27 May 2020 08:45:18 +0000 (01:45 -0700)
commit69d17199e86a73e0cf51da1a6a2d679c5c365d44
treefbfaf671381124cc104ac6b83fba5d338f2b3c8a
parentd4424f88470ae1640ed7dbe4e9c894d6dfaf7cf1
luci-app-ddns: fix typo for has_curlssl()

Fixes the incorrect message "HTTPS not supported please disable !" when curl with https support is present.
grep returns exit code 0 when a match is found.

This cherry-picks commit 199d4b1d5c45111919ac5c1844ee5e37d14273a1

Signed-off-by: Leong Hui Wong <[email protected]>
Signed-off-by: Chuck <[email protected]>
applications/luci-app-ddns/luasrc/tools/ddns.lua